200 |
How do I arrange my columns on multiple lines
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutHeaderHeight(32); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"")))->PutHTMLCaption(L"Line 1<br>Line 2"); |
199 |
How can I display all cells using HTML format
|
198 |
How can I display all cells using multiple lines
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"MultipleLine")))->PutDef(EXCOMBOBOXLib::exCellSingleLine,VARIANT_FALSE); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"SingleLine")))->PutDef(EXCOMBOBOXLib::exCellSingleLine,VARIANT_TRUE); EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems(); var_Items->PutCellCaption(var_Items->AddItem("This is a bit of long text that should break the line"),long(1),"this is a bit of long text that's displayed on a single line"); |
197 |
How do change the vertical alignment for all cells in the column
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"MultipleLine")))->PutDef(EXCOMBOBOXLib::exCellSingleLine,VARIANT_FALSE); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"VAlign")))->PutDef(EXCOMBOBOXLib::exCellVAlignment,long(2)); EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems(); var_Items->PutCellCaption(var_Items->AddItem("This is a bit of long text that should break the line"),long(1),"bottom"); EXCOMBOBOXLib::IItemsPtr var_Items1 = spComboBox1->GetItems(); var_Items1->PutCellCaption(var_Items1->AddItem("This is a bit of long text that should break the line"),long(1),"bottom"); |
196 |
How do change the foreground color for all cells in the column
|
195 |
How do change the background color for all cells in the column
|
194 |
How do I show buttons for all cells in the column
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Button"))); var_Column->PutDef(EXCOMBOBOXLib::exCellHasButton,VARIANT_TRUE); var_Column->PutDef(EXCOMBOBOXLib::exCellButtonAutoWidth,VARIANT_TRUE); spComboBox1->GetItems()->AddItem(" Button 1 "); spComboBox1->GetItems()->AddItem(" Button 2 "); |
193 |
How do I show buttons for all cells in the column
|
192 |
How do I display radio buttons for all cells in the column
|
191 |
How do I display checkboxes for all cells in the column
|
190 |
How can I display a tooltip when the cursor hovers the column
|
189 |
Is there any function to assign a key to a column instead using its name or capion
|
188 |
Is there any function to assign any extra data to a column
|
187 |
By default, the column gets sorted descending, when I first click its header. How can I change so the column gets sorted ascending when the user first clicks the column's header
|
186 |
How can I specify the maximum width for the column, if I use WidthAutoResize property
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Auto"))); var_Column->PutWidthAutoResize(VARIANT_TRUE); var_Column->PutMinWidthAutoResize(32); var_Column->PutMaxWidthAutoResize(128); spComboBox1->GetItems()->AddItem(long(0)); spComboBox1->GetItems()->AddItem(long(1)); |
185 |
How can I specify the minimum width for the column, if I use WidthAutoResize property
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Auto"))); var_Column->PutWidthAutoResize(VARIANT_TRUE); var_Column->PutMinWidthAutoResize(32); spComboBox1->GetItems()->AddItem(long(0)); spComboBox1->GetItems()->AddItem(long(1)); |
184 |
Is there any option to resize the column based on its data, captions
|
183 |
How can I align the icon in the column's header in the center
|
182 |
How do I align the icon in the column's header to the right
|
181 |
How do I show or hide the sorting icons, but still need sorting
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Sorted")))->PutSortOrder(EXCOMBOBOXLib::SortAscending); spComboBox1->GetColumns()->GetItem(long(0))->PutDisplaySortIcon(VARIANT_FALSE); |
180 |
How do I enable or disable the entire column
|
179 |
How do I disable drag and drop columns
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"C1")))->PutAllowDragging(VARIANT_FALSE); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"C2")))->PutAllowDragging(VARIANT_FALSE); |
178 |
How do I disable resizing a column at runtime
|
177 |
How can I align the column to the right, and its caption too
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column"))); var_Column->PutAlignment(EXCOMBOBOXLib::RightAlignment); var_Column->PutHeaderAlignment(EXCOMBOBOXLib::RightAlignment); spComboBox1->GetItems()->AddItem(long(0)); spComboBox1->GetItems()->AddItem(long(1)); |
176 |
How can I align the column to the right
|
175 |
How do I change the column's caption
|
174 |
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions, after the user clicks it
|
173 |
Can I change the visual effect, appearance for the anchor, hyperlink elements, in HTML captions
|
172 |
Can I change the font for the tooltip
|
171 |
Can I change the font for the tooltip
|
170 |
Can I change the order of the buttons in the scroll bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutScrollOrderParts(EXCOMBOBOXLib::exHScroll,L"t,l,r"); spComboBox1->PutScrollOrderParts(EXCOMBOBOXLib::exVScroll,L"t,l,r"); |
169 |
The thumb size seems to be very small. Can I make it bigger
|
168 |
How can I display my text on the scroll bar, using a different font
|
167 |
How can I display my text on the scroll bar, using a different font
|
166 |
How can I display my text on the scroll bar
|
165 |
How do I enlarge or change the size of the control's scrollbars
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutScrollHeight(18); spComboBox1->PutScrollWidth(18); spComboBox1->PutScrollButtonWidth(18); spComboBox1->PutScrollButtonHeight(18); |
164 |
How do I assign a tooltip to a scrollbar
|
163 |
How do I assign an icon to the button in the scrollbar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->Images(_bstr_t("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq") + "lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" + "0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" + "NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA="); spComboBox1->PutScrollPartVisible(EXCOMBOBOXLib::exHScroll,EXCOMBOBOXLib::exLeftB1Part,VARIANT_TRUE); spComboBox1->PutScrollPartCaption(EXCOMBOBOXLib::exHScroll,EXCOMBOBOXLib::exLeftB1Part,L"<img>1</img>"); spComboBox1->PutScrollHeight(18); spComboBox1->PutScrollButtonWidth(18); |
162 |
I need to add a button in the scroll bar. Is this possible
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutScrollPartVisible(EXCOMBOBOXLib::exHScroll,EXCOMBOBOXLib::exLeftB1Part,VARIANT_TRUE); spComboBox1->PutScrollPartCaption(EXCOMBOBOXLib::exHScroll,EXCOMBOBOXLib::exLeftB1Part,L"1"); |
161 |
Can I display an additional buttons in the scroll bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutScrollPartVisible(EXCOMBOBOXLib::exHScroll,EXCOMBOBOXLib::exLeftB1Part,VARIANT_TRUE); spComboBox1->PutScrollPartVisible(EXCOMBOBOXLib::exHScroll,EXCOMBOBOXLib::exLeftB2Part,VARIANT_TRUE); spComboBox1->PutScrollPartVisible(EXCOMBOBOXLib::exHScroll,EXCOMBOBOXLib::exRightB6Part,VARIANT_TRUE); spComboBox1->PutScrollPartVisible(EXCOMBOBOXLib::exHScroll,EXCOMBOBOXLib::exRightB5Part,VARIANT_TRUE); |
160 |
How can I display a custom size picture to a cell or item
|
159 |
How can I display a multiple pictures to a cell or item
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutDefaultItemHeight(48); spComboBox1->PutHTMLPicture(L"pic1","c:\\exontrol\\images\\zipdisk.gif"); spComboBox1->PutHTMLPicture(L"pic2","c:\\exontrol\\images\\auction.gif"); spComboBox1->GetColumns()->Add(L"C1"); EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems(); var_Items->PutCellCaptionFormat(var_Items->AddItem("<img>pic1</img> Text <img>pic2</img> another text ..."),long(0),EXCOMBOBOXLib::exHTML); |
158 |
How do I change the column's foreground color for numbers between an interval - Range
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); EXCOMBOBOXLib::IConditionalFormatPtr var_ConditionalFormat = spComboBox1->GetConditionalFormats()->Add(L"%0 >= 2 and %0 <= 10",vtMissing); var_ConditionalFormat->PutBold(VARIANT_TRUE); var_ConditionalFormat->PutForeColor(RGB(255,0,0)); var_ConditionalFormat->PutApplyTo(EXCOMBOBOXLib::FormatApplyToEnum(0x1)); spComboBox1->GetColumns()->Add(L"N1"); spComboBox1->GetColumns()->Add(L"N2"); EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems(); var_Items->PutCellCaption(var_Items->AddItem(long(1)),long(1),long(2)); EXCOMBOBOXLib::IItemsPtr var_Items1 = spComboBox1->GetItems(); var_Items1->PutCellCaption(var_Items1->AddItem(long(3)),long(1),long(3)); EXCOMBOBOXLib::IItemsPtr var_Items2 = spComboBox1->GetItems(); var_Items2->PutCellCaption(var_Items2->AddItem(long(10)),long(1),long(11)); EXCOMBOBOXLib::IItemsPtr var_Items3 = spComboBox1->GetItems(); var_Items3->PutCellCaption(var_Items3->AddItem(long(13)),long(1),long(31)); spComboBox1->PutSearchColumnIndex(1); |
157 |
How do I change the item's foreground color for numbers between an interval - Range
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->GetConditionalFormats()->Add(L"%0 >= 2 and %0 <= 10",vtMissing)->PutForeColor(RGB(255,0,0)); spComboBox1->GetColumns()->Add(L"Numbers"); spComboBox1->GetItems()->AddItem(long(1)); spComboBox1->GetItems()->AddItem(long(2)); spComboBox1->GetItems()->AddItem(long(10)); spComboBox1->GetItems()->AddItem(long(20)); |
156 |
How do I change the item's background color for numbers less than a value
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->GetConditionalFormats()->Add(L"%0 < 10",vtMissing)->PutBackColor(RGB(255,0,0)); spComboBox1->GetColumns()->Add(L"Numbers"); spComboBox1->GetItems()->AddItem(long(1)); spComboBox1->GetItems()->AddItem(long(2)); spComboBox1->GetItems()->AddItem(long(10)); spComboBox1->GetItems()->AddItem(long(20)); |
155 |
How do I underline the numbers greater than a value
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->GetConditionalFormats()->Add(L"%0 >= 10",vtMissing)->PutUnderline(VARIANT_TRUE); spComboBox1->GetColumns()->Add(L"Numbers"); spComboBox1->GetItems()->AddItem(long(1)); spComboBox1->GetItems()->AddItem(long(2)); spComboBox1->GetItems()->AddItem(long(10)); spComboBox1->GetItems()->AddItem(long(20)); |
154 |
How do I highlight in italic the numbers greater than a value
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->GetConditionalFormats()->Add(L"%0 >= 10",vtMissing)->PutStrikeOut(VARIANT_TRUE); spComboBox1->GetColumns()->Add(L"Numbers"); spComboBox1->GetItems()->AddItem(long(1)); spComboBox1->GetItems()->AddItem(long(2)); spComboBox1->GetItems()->AddItem(long(10)); spComboBox1->GetItems()->AddItem(long(20)); |
153 |
How do I highlight in italic the numbers greater than a value
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->GetConditionalFormats()->Add(L"%0 >= 10",vtMissing)->PutItalic(VARIANT_TRUE); spComboBox1->GetColumns()->Add(L"Numbers"); spComboBox1->GetItems()->AddItem(long(1)); spComboBox1->GetItems()->AddItem(long(2)); spComboBox1->GetItems()->AddItem(long(10)); spComboBox1->GetItems()->AddItem(long(20)); |
152 |
How do I highlight in bold the numbers greater than a value
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->GetConditionalFormats()->Add(L"%0 >= 10",vtMissing)->PutBold(VARIANT_TRUE); spComboBox1->GetColumns()->Add(L"Numbers"); spComboBox1->GetItems()->AddItem(long(1)); spComboBox1->GetItems()->AddItem(long(2)); spComboBox1->GetItems()->AddItem(long(10)); spComboBox1->GetItems()->AddItem(long(20)); |
151 |
Can I use your EBN files to change the visual appearance for +/- expand - collapse buttons
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spComboBox1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exGroupLinesAtRoot); spComboBox1->PutHasButtons(EXCOMBOBOXLib::exCustom); spComboBox1->PutHasButtonsCustom(VARIANT_FALSE,16777216); spComboBox1->PutHasButtonsCustom(VARIANT_TRUE,33554432); spComboBox1->GetColumns()->Add(L"Column"); EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems(); long h = var_Items->AddItem("Root 1"); var_Items->InsertItem(h,vtMissing,"Child 1"); var_Items->InsertItem(h,vtMissing,"Child 2"); var_Items->PutExpandItem(h,VARIANT_TRUE); h = var_Items->AddItem("Root 2"); var_Items->InsertItem(h,vtMissing,"Child"); |
150 |
Can I use your EBN files to change the visual appearance for radio buttons
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spComboBox1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spComboBox1->PutRadioImage(VARIANT_FALSE,16777216); spComboBox1->PutRadioImage(VARIANT_TRUE,33554432); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Radio")))->PutDef(EXCOMBOBOXLib::exCellHasRadioButton,VARIANT_TRUE); EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems(); var_Items->AddItem("Radio 1"); var_Items->PutCellState(var_Items->AddItem("Radio 2"),long(0),1); var_Items->AddItem("Radio 3"); |
149 |
Can I use your EBN files to change the visual appearance for checkbox cells
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spComboBox1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spComboBox1->PutCheckImage(EXCOMBOBOXLib::Unchecked,16777216); spComboBox1->PutCheckImage(EXCOMBOBOXLib::Checked,33554432); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Check")))->PutDef(EXCOMBOBOXLib::exCellHasCheckBox,VARIANT_TRUE); EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems(); var_Items->AddItem("Check 1"); var_Items->PutCellState(var_Items->AddItem("Check 2"),long(0),1); |
148 |
How do I change the visual aspect for thumb parts in the scroll bars, using EBN
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spComboBox1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spComboBox1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn"); spComboBox1->PutBackground(EXCOMBOBOXLib::exHSThumb,0x1000000); spComboBox1->PutBackground(EXCOMBOBOXLib::exHSThumbP,0x2000000); spComboBox1->PutBackground(EXCOMBOBOXLib::exHSThumbH,0x3000000); spComboBox1->PutBackground(EXCOMBOBOXLib::exVSThumb,0x1000000); spComboBox1->PutBackground(EXCOMBOBOXLib::exVSThumbP,0x2000000); spComboBox1->PutBackground(EXCOMBOBOXLib::exVSThumbH,0x3000000); spComboBox1->PutColumnAutoResize(VARIANT_FALSE); spComboBox1->PutScrollBySingleLine(VARIANT_TRUE); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"S")))->PutWidth(483); EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems(); var_Items->PutItemHeight(var_Items->AddItem("Item 1"),248); spComboBox1->GetItems()->AddItem("Item 2"); |
147 |
How do I change the visual aspect only for the thumb in the scroll bar, using EBN
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spComboBox1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spComboBox1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn"); spComboBox1->PutBackground(EXCOMBOBOXLib::exHSThumb,0x1000000); spComboBox1->PutBackground(EXCOMBOBOXLib::exHSThumbP,0x2000000); spComboBox1->PutBackground(EXCOMBOBOXLib::exHSThumbH,0x3000000); spComboBox1->PutColumnAutoResize(VARIANT_FALSE); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"S")))->PutWidth(483); |
146 |
I've seen that you can change the visual appearance for the scroll bar. How can I do that
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spComboBox1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spComboBox1->GetVisualAppearance()->Add(3,"c:\\exontrol\\images\\hot.ebn"); spComboBox1->PutBackground(EXCOMBOBOXLib::exSBtn,0x1000000); spComboBox1->PutBackground(EXCOMBOBOXLib::exSBtnP,0x2000000); spComboBox1->PutBackground(EXCOMBOBOXLib::exSBtnH,0x3000000); spComboBox1->PutBackground(EXCOMBOBOXLib::exHSBack,RGB(240,240,240)); spComboBox1->PutBackground(EXCOMBOBOXLib::exVSBack,RGB(240,240,240)); spComboBox1->PutBackground(EXCOMBOBOXLib::BackgroundPartEnum(EXCOMBOBOXLib::exHSBackH | EXCOMBOBOXLib::exToolTipAppearance | EXCOMBOBOXLib::exCursorHoverColumn | EXCOMBOBOXLib::exDateHeader),RGB(240,240,240)); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"S")))->PutWidth(32); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Level 1")))->PutLevelKey(long(1)); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Level 2")))->PutLevelKey(long(1)); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Level 3")))->PutLevelKey(long(1)); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"E1")))->PutWidth(32); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"E2")))->PutWidth(32); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"E3")))->PutWidth(32); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"E4")))->PutWidth(32); spComboBox1->PutColumnAutoResize(VARIANT_FALSE); |
145 |
Is there any option to highligth the column from the cursor - point
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spComboBox1->PutBackground(EXCOMBOBOXLib::exCursorHoverColumn,0x1000000); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"S")))->PutWidth(32); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Level 1")))->PutLevelKey(long(1)); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Level 2")))->PutLevelKey(long(1)); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Level 3")))->PutLevelKey(long(1)); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"E1")))->PutWidth(32); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"E2")))->PutWidth(32); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"E3")))->PutWidth(32); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"E4")))->PutWidth(32); |
144 |
How do I change the visual aspect of selected item in the drop down filter window, using your EBN technology
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spComboBox1->PutBackground(EXCOMBOBOXLib::exSelBackColorFilter,0x1000000); spComboBox1->PutBackground(EXCOMBOBOXLib::exSelForeColorFilter,RGB(255,20,20)); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Filter")))->PutDisplayFilterButton(VARIANT_TRUE); |
143 |
How do I change the visual aspect of the drop down calendar window, that shows up if I click the drop down filter button, using EBN
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spComboBox1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spComboBox1->PutBackground(EXCOMBOBOXLib::exDateHeader,0x1000000); spComboBox1->PutBackground(EXCOMBOBOXLib::exDateTodayUp,0x1000000); spComboBox1->PutBackground(EXCOMBOBOXLib::exDateTodayDown,0x2000000); spComboBox1->PutBackground(EXCOMBOBOXLib::exDateScrollThumb,0x1000000); spComboBox1->PutBackground(EXCOMBOBOXLib::exDateScrollRange,RGB(230,230,230)); spComboBox1->PutBackground(EXCOMBOBOXLib::exDateSeparatorBar,RGB(230,230,230)); spComboBox1->PutBackground(EXCOMBOBOXLib::exDateSelect,0x1000000); EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Date"))); var_Column->PutFilterType(EXCOMBOBOXLib::exDate); var_Column->PutDisplayFilterButton(VARIANT_TRUE); var_Column->PutDisplayFilterDate(VARIANT_TRUE); |
142 |
How do I change the visual aspect of the close button in the filter bar, using EBN
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spComboBox1->PutBackground(EXCOMBOBOXLib::exFooterFilterBarButton,0x1000000); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Filter")))->PutFilterType(EXCOMBOBOXLib::exBlanks); spComboBox1->ApplyFilter(); |
141 |
How do I change the visual aspect of buttons in the cell, using EBN
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spComboBox1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spComboBox1->PutBackground(EXCOMBOBOXLib::exCellButtonUp,0x1000000); spComboBox1->PutBackground(EXCOMBOBOXLib::exSizeGrip,0x2000000); spComboBox1->PutSelForeColor(RGB(0,0,0)); spComboBox1->PutShowFocusRect(VARIANT_FALSE); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column 1")))->PutDef(EXCOMBOBOXLib::exCellHasButton,VARIANT_TRUE); spComboBox1->GetItems()->AddItem("Button 1"); spComboBox1->GetItems()->AddItem("Button 2"); spComboBox1->GetColumns()->Add(L"Column 2"); |
140 |
How do I change the visual aspect of the drop down filter button, using EBN
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spComboBox1->PutBackground(EXCOMBOBOXLib::exHeaderFilterBarButton,0x1000000); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Filter")))->PutDisplayFilterButton(VARIANT_TRUE); |
139 |
Is there any function to get the control's data in your x-script format / template
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->GetColumns()->Add(L"Column"); spComboBox1->GetItems()->AddItem("ToTemplate()"); |
138 |
How do I enable resizing the columns at runtime
|
137 |
How do I enable resizing ( changing the height ) the items at runtime
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutItemsAllowSizing(EXCOMBOBOXLib::exResizeItem); spComboBox1->PutScrollBySingleLine(VARIANT_TRUE); spComboBox1->GetColumns()->Add(L"Column"); spComboBox1->GetItems()->AddItem("Item 1"); EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems(); var_Items->PutItemHeight(var_Items->AddItem("Item 2"),48); spComboBox1->GetItems()->AddItem("Item 3"); |
136 |
How can I sort by multiple columns
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutSingleSort(VARIANT_FALSE); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"C1")))->PutSortOrder(EXCOMBOBOXLib::SortAscending); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"C2")))->PutSortOrder(EXCOMBOBOXLib::SortDescending); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"C3")))->PutSortOrder(EXCOMBOBOXLib::SortAscending); |
135 |
How can I add several columns to control's sort bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutSortBarVisible(VARIANT_TRUE); spComboBox1->PutSortBarColumnWidth(48); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"C1")))->PutSortOrder(EXCOMBOBOXLib::SortAscending); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"C2")))->PutSortOrder(EXCOMBOBOXLib::SortDescending); |
134 |
How can I change the width of the columns being displayed in the sort bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutSortBarVisible(VARIANT_TRUE); spComboBox1->PutSortBarColumnWidth(48); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"C1")))->PutSortOrder(EXCOMBOBOXLib::SortAscending); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"C2")))->PutSortOrder(EXCOMBOBOXLib::SortDescending); |
133 |
How can I change the height of the sort bar's
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutSortBarVisible(VARIANT_TRUE); spComboBox1->PutSortBarHeight(48); |
132 |
How can I change the sort bar's foreground color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutSortBarVisible(VARIANT_TRUE); spComboBox1->PutForeColorSortBar(RGB(255,0,0)); |
131 |
How can I change the visual appearance of the control's sort bar, using EBN files
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spComboBox1->GetVisualAppearance()->Add(2,"c:\\exontrol\\images\\pushed.ebn"); spComboBox1->PutSortBarVisible(VARIANT_TRUE); spComboBox1->PutBackColorSortBar(0x1000000); spComboBox1->PutBackColorSortBarCaption(0x2000000); spComboBox1->PutAppearance(EXCOMBOBOXLib::None2); |
130 |
How can I change the sort bar's background color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutSortBarVisible(VARIANT_TRUE); spComboBox1->PutBackColorSortBar(RGB(255,0,0)); spComboBox1->PutBackColorSortBarCaption(RGB(128,0,0)); |
129 |
How can I change the default caption being displayed in the control's sort bar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutSortBarVisible(VARIANT_TRUE); spComboBox1->PutSortBarCaption(L"new caption"); |
128 |
How can I show the locked / fixed items on the bottom side of the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutShowLockedItems(VARIANT_TRUE); spComboBox1->GetColumns()->Add(L"Column"); EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems(); var_Items->PutLockedItemCount(EXCOMBOBOXLib::exMiddle,2); var_Items->PutCellCaption(var_Items->GetLockedItem(EXCOMBOBOXLib::exMiddle,0),long(0),"locked item 1"); var_Items->PutCellCaption(var_Items->GetLockedItem(EXCOMBOBOXLib::exMiddle,1),long(0),"locked item 2"); var_Items->AddItem("un-locked item"); |
127 |
How can I show the locked / fixed items
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutShowLockedItems(VARIANT_TRUE); spComboBox1->GetColumns()->Add(L"Column"); EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems(); var_Items->PutLockedItemCount(EXCOMBOBOXLib::exTop,2); var_Items->PutCellCaption(var_Items->GetLockedItem(EXCOMBOBOXLib::exTop,0),long(0),"locked item 1"); var_Items->PutCellCaption(var_Items->GetLockedItem(EXCOMBOBOXLib::exTop,1),long(0),"locked item 2"); var_Items->AddItem("un-locked item"); |
126 |
How can I hide the locked / fixed items
|
125 |
How can I show the control's sort bar
|
124 |
How can I change the header's background color, when multiple levels are displayed
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutBackColorLevelHeader(RGB(250,0,0)); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"S")))->PutWidth(32); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Level 1")))->PutLevelKey(long(1)); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Level 2")))->PutLevelKey(long(1)); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Level 3")))->PutLevelKey(long(1)); |
123 |
How do I expand automatically the items while user types characters to searching for something ( incremental searching )
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutExpandOnSearch(VARIANT_TRUE); spComboBox1->PutLinesAtRoot(EXCOMBOBOXLib::exLinesAtRoot); spComboBox1->PutAutoSearch(VARIANT_TRUE); ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column")))->PutAutoSearch(EXCOMBOBOXLib::exContains); EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems(); var_Items->InsertItem(var_Items->InsertItem(var_Items->AddItem("text"),vtMissing,"some text"),vtMissing,"another text"); var_Items->InsertItem(var_Items->InsertItem(var_Items->AddItem("text"),vtMissing,"some text"),vtMissing,"another text"); |
122 |
Do you have some function to load data from a safe array
|
121 |
Do you have some function to retrieve all items to a safe array
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->GetColumns()->Add(L"Column"); spComboBox1->GetItems()->AddItem(long(0)); spComboBox1->PutItems(spComboBox1->GetItems(long(0)),vtMissing); spComboBox1->GetItems()->AddItem(long(1)); spComboBox1->PutItems(spComboBox1->GetItems(long(0)),vtMissing); spComboBox1->GetItems()->AddItem(long(2)); spComboBox1->PutItems(spComboBox1->GetItems(long(0)),vtMissing); spComboBox1->GetItems()->AddItem(long(3)); |
120 |
How can I hide a column
|
119 |
I've seen that the width of the tooltip is variable. Can I make it larger
|
118 |
How do I disable showing the tooltip for all control
|
117 |
How do I let the tooltip being displayed longer
|
116 |
How do I show the tooltip quicker
|
115 |
How do I change the caption being displayed in the control's filter bar
|
114 |
How do I search case sensitive, using your incremental search feature
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutAutoSearch(VARIANT_TRUE); spComboBox1->PutASCIILower(L""); EXCOMBOBOXLib::IColumnsPtr var_Columns = spComboBox1->GetColumns(); ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"exStartWith")))->PutAutoSearch(EXCOMBOBOXLib::exStartWith); ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"exContains")))->PutAutoSearch(EXCOMBOBOXLib::exContains); EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems(); var_Items->PutCellCaption(var_Items->AddItem("text"),long(1),"another text"); EXCOMBOBOXLib::IItemsPtr var_Items1 = spComboBox1->GetItems(); var_Items1->PutCellCaption(var_Items1->AddItem("text"),long(1),"another text"); |
113 |
How do I disable the control
|
112 |
How do I enable the incremental search feature within a column
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutAutoSearch(VARIANT_TRUE); EXCOMBOBOXLib::IColumnsPtr var_Columns = spComboBox1->GetColumns(); ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"exStartWith")))->PutAutoSearch(EXCOMBOBOXLib::exStartWith); ((EXCOMBOBOXLib::IColumnPtr)(var_Columns->Add(L"exContains")))->PutAutoSearch(EXCOMBOBOXLib::exContains); EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems(); var_Items->PutCellCaption(var_Items->AddItem("text"),long(1),"another text"); EXCOMBOBOXLib::IItemsPtr var_Items1 = spComboBox1->GetItems(); var_Items1->PutCellCaption(var_Items1->AddItem("text"),long(1),"another text"); |
111 |
How do I call your x-script language
|
110 |
How do I call your x-script language
|
109 |
How do I show alternate rows in different background color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutBackColorAlternate(RGB(240,240,240)); spComboBox1->GetColumns()->Add(L"Column"); EXCOMBOBOXLib::IItemsPtr var_Items = spComboBox1->GetItems(); var_Items->AddItem("Item 1"); var_Items->AddItem("Item 2"); var_Items->AddItem("Item 3"); var_Items->AddItem("Item 4"); var_Items->AddItem("Item 5"); |
108 |
How do I enlarge the drop down filter window
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutFilterBarDropDownHeight("-320"); EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column"))); var_Column->PutDisplayFilterButton(VARIANT_TRUE); var_Column->PutFilterBarDropDownWidth("-320"); spComboBox1->GetItems()->AddItem("Item 1"); spComboBox1->GetItems()->AddItem("Item 2"); |
107 |
How do I filter programatically the control
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column"))); var_Column->PutDisplayFilterButton(VARIANT_TRUE); var_Column->PutFilterType(EXCOMBOBOXLib::exPattern); var_Column->PutFilter(L"Item*"); spComboBox1->GetItems()->AddItem("Item 1"); spComboBox1->GetItems()->AddItem(""); spComboBox1->GetItems()->AddItem("Item 2"); spComboBox1->ApplyFilter(); |
106 |
How do I change the font of the control's filterbar
|
105 |
Can I apply an EBN skin to the control's filter bar so I can change its visual appearance
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->GetVisualAppearance()->Add(1,"c:\\exontrol\\images\\normal.ebn"); spComboBox1->PutFilterBarBackColor(0x1000000); EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column"))); var_Column->PutDisplayFilterButton(VARIANT_TRUE); var_Column->PutFilterType(EXCOMBOBOXLib::exBlanks); spComboBox1->ApplyFilter(); |
104 |
How do I change the background color of the control's filterbar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutFilterBarBackColor(RGB(240,240,240)); EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column"))); var_Column->PutDisplayFilterButton(VARIANT_TRUE); var_Column->PutFilterType(EXCOMBOBOXLib::exBlanks); spComboBox1->ApplyFilter(); |
103 |
How do I change the foreground color of the control's filterbar
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutFilterBarForeColor(RGB(255,0,0)); EXCOMBOBOXLib::IColumnPtr var_Column = ((EXCOMBOBOXLib::IColumnPtr)(spComboBox1->GetColumns()->Add(L"Column"))); var_Column->PutDisplayFilterButton(VARIANT_TRUE); var_Column->PutFilterType(EXCOMBOBOXLib::exBlanks); spComboBox1->ApplyFilter(); |
102 |
How do I change the height of the control's filterbar
|
101 |
How do I change the header's foreground color
/* Copy and paste the following directives to your header file as it defines the namespace 'EXCOMBOBOXLib' for the library: 'ExComboBox 1.0 Control Library' #import <ExComboBox.dll> using namespace EXCOMBOBOXLib; */ EXCOMBOBOXLib::IComboBoxPtr spComboBox1 = GetDlgItem(IDC_COMBOBOX1)->GetControlUnknown(); spComboBox1->PutHeaderForeColor(RGB(255,0,0)); spComboBox1->GetColumns()->Add(L"Column 1"); spComboBox1->GetColumns()->Add(L"Column 2"); spComboBox1->GetItems()->AddItem("Item 1"); |